JavaScript: Computer Programming for Beginners: Learn the Basics of JavaScript by Joseph Connor

JavaScript: Computer Programming for Beginners: Learn the Basics of JavaScript by Joseph Connor
Author: Joseph Connor
Language: eng
Format: azw3, epub
Published: 2017-06-20

<!DOCTYPE html>

<html>

<head>

<meta charset = “ISO-8859-1”>

<title>JS Body</title>

<script type = “text/javascript”>

Function showAlert()}

Alert(“This is an alert from Head section!:);

}

</script>

</head>

<body>

<script type = “text/javascript”>

document.write(“Welcome to JavaScript Tutorials!”)

</script>

<p>Body section of the HTML document.</p>

<input type = “button” onclick = “showAlert();” value = “Call JavaScript”/>

</body>

</html>

Uploading the JavaScript code with the external file